package com.shop.bank.pojo;

import java.math.BigDecimal;

public class Transactionrecord {

    private int id ;
    private String cardNo;
    private String transactionDate;
    private String transactionAmount;
    private BigDecimal balance;
    private String transactionType;
    private String remark;

    public Transactionrecord() {
    }

    public Transactionrecord(int id, String cardNo, String transactionDate, String transactionAmount, BigDecimal balance, String transactionType, String remark) {
        this.id = id;
        this.cardNo = cardNo;
        this.transactionDate = transactionDate;
        this.transactionAmount = transactionAmount;
        this.balance = balance;
        this.transactionType = transactionType;
        this.remark = remark;
    }

    @Override
    public String toString() {
        return "Transactionrecord{" +
                "id=" + id +
                ", cardNo='" + cardNo + '\'' +
                ", transactionDate='" + transactionDate + '\'' +
                ", transactionAmount='" + transactionAmount + '\'' +
                ", balance=" + balance +
                ", transactionType='" + getTransactionType() + '\'' +
                ", remark='" + getRemark() + '\'' +
                '}';
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getCardNo() {
        return cardNo;
    }

    public void setCardNo(String cardNo) {
        this.cardNo = cardNo;
    }

    public String getTransactionDate() {
        return transactionDate;
    }

    public void setTransactionDate(String transactionDate) {
        this.transactionDate = transactionDate;
    }

    public String getTransactionAmount() {
        return transactionAmount;
    }

    public void setTransactionAmount(String transactionAmount) {
        this.transactionAmount = transactionAmount;
    }

    public BigDecimal getBalance() {
        return balance;
    }

    public void setBalance(BigDecimal balance) {
        this.balance = balance;
    }

    public String getTransactionType() {
        return transactionType;
    }

    public void setTransactionType(String transactionType) {
        this.transactionType = transactionType;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }
}
